package com.cqq.print.base.dao.impl;
import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

import com.cqq.print.base.dao.domain.PProducePlan;
import com.cqq.print.base.dao.mapper.PProducePlanMapper;


/**
 * @author generated
 * @date 2015-07-01
 */


@Repository(value="pProducePlanDao")
public class PProducePlanDaoImpl extends com.cqq.common.core.base.BaseDao implements com.cqq.print.base.dao.PProducePlanDao{

             @Autowired
             private PProducePlanMapper pProducePlanMapper;


    public int insertSelective(PProducePlan record){
        return pProducePlanMapper.insertSelective(record);
    }

	
	public List<PProducePlan> queryAll() {
		return pProducePlanMapper.queryAll();
	}

	
	public PProducePlan findProPlanById(Integer id) {
		return pProducePlanMapper.findProPlanById(id);
	}

	
	public List<PProducePlan> queryPProducePlanByPage(Map<String, Object> map) {
		return pProducePlanMapper.queryPProducePlanByPage(map);
	}

	
	public int queryCountPProducePlanByPage(Map<String, Object> map) {
		return pProducePlanMapper.queryCountPProducePlanByPage(map);
	}

	
	public int updateBySelective(PProducePlan record) {
		return pProducePlanMapper.updateBySelective(record);
	}

	
	public List<PProducePlan> queryPProducePlanByIds(String proIds) {
		return pProducePlanMapper.queryPProducePlanByIds(proIds);
	}

	
	public List<PProducePlan> queryByType(Integer type) {
		return pProducePlanMapper.queryByType(type);
	}

}